package com.zhenhua.dao;

import java.util.List;

import com.common.entity.Charge;

public interface IChargeDao {
	public String getNameById(int id);
	public List<Charge> getAll(int flag);
	int getNumByName(String name);
	public double getCountById(int id);
	
	public List<Charge> listAll();
	
	public int addCharge(Charge charge);
	
	public int deleteChargeById(int id);
	
	public Charge getChargeById(int id);
	
	public int updateChargeById(Charge charge);
}
